import {KeyBoardState} from "../KeyBoardState";

export class PlayerOption {

  keyboardState: KeyBoardState;
  gameOver:boolean;
  createTankApply:boolean
  //playerId不能由客户端操作 应该由服务器根据玩家session进行填入，以防作弊
  playerId:number|undefined


  constructor(keyBoardState: KeyBoardState, gameOver: boolean,createTankApply:boolean) {

    this.keyboardState = keyBoardState;
    this.gameOver = gameOver;
    this.createTankApply = createTankApply;

  }
}
